<template>
    <div class="about">
        <h1>主应用传递过来的数据：{{data.type}}</h1>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                data: ""
            }
        },
        mounted() {
            this.data = window.microApp.getData() //获取基座数据
            console.log(window.microApp.getData())
        },
    }
</script>
